[INFO] cloning repository https://github.com/mlycore/container-rs-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mlycore/container-rs-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlycore%2Fcontainer-rs-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlycore%2Fcontainer-rs-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f24818ee8db339e84ac1727146f081cbf83285aa
[INFO] documenting mlycore/container-rs-example against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlycore%2Fcontainer-rs-example" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mlycore/container-rs-example on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mlycore/container-rs-example
[INFO] finished tweaking git repo https://github.com/mlycore/container-rs-example
[INFO] tweaked toml for git repo https://github.com/mlycore/container-rs-example written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/mlycore/container-rs-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6af891a83b8bd6045ebb4c6e333bc5071666bd94eba0a17b73c07c3c49510977
[INFO] running `Command { std: "docker" "start" "-a" "6af891a83b8bd6045ebb4c6e333bc5071666bd94eba0a17b73c07c3c49510977", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6af891a83b8bd6045ebb4c6e333bc5071666bd94eba0a17b73c07c3c49510977", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6af891a83b8bd6045ebb4c6e333bc5071666bd94eba0a17b73c07c3c49510977", kill_on_drop: false }`
[INFO] [stdout] 6af891a83b8bd6045ebb4c6e333bc5071666bd94eba0a17b73c07c3c49510977
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb655ef8f0dfc32755094f9cd16c716407f2fd47693d5fb9de98a8976fab749a
[INFO] running `Command { std: "docker" "start" "-a" "bb655ef8f0dfc32755094f9cd16c716407f2fd47693d5fb9de98a8976fab749a", kill_on_drop: false }`
[INFO] [stderr]     Checking oci-spec v0.1.0 (/opt/rustwide/workdir/oci-spec)
[INFO] [stderr]     Checking command v0.1.0 (/opt/rustwide/workdir/command)
[INFO] [stdout] error[E0423]: expected function, found macro `write`
[INFO] [stdout]   --> command/src/pty.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         write(fd, msg_as_bytes().unwrap());
[INFO] [stdout]    |         ^^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 52 |         write!(fd, msg_as_bytes().unwrap());
[INFO] [stdout]    |              +
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::fmt::write;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::ptr::write;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use nix::sys::ptrace::write;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use nix::unistd::write;
[INFO] [stdout]    |
[INFO] [stdout]      and 3 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `fd` in this scope
[INFO] [stdout]   --> command/src/pty.rs:52:15
[INFO] [stdout]    |
[INFO] [stdout] 52 |         write(fd, msg_as_bytes().unwrap());
[INFO] [stdout]    |               ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `msg_as_bytes` in this scope
[INFO] [stdout]   --> command/src/pty.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |         write(fd, msg_as_bytes().unwrap());
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]   --> command/src/pty.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let num = read(fd, &mut buf).unwrap();
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::ptr::read;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use nix::sys::ptrace::read;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use nix::unistd::read;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fs::read;
[INFO] [stdout]    |
[INFO] [stdout]      and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `fd` in this scope
[INFO] [stdout]   --> command/src/pty.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let num = read(fd, &mut buf).unwrap();
[INFO] [stdout]    |                        ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for enum `Result` in the current scope
[INFO] [stdout]   --> command/src/pty.rs:36:34
[INFO] [stdout]    |
[INFO] [stdout] 36 |             socket_fd: socket_fd.as_raw_fd(),
[INFO] [stdout]    |                                  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the method `as_raw_fd` exists on the type `i32`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `i32` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 36 |             socket_fd: socket_fd.expect("REASON").as_raw_fd(),
[INFO] [stdout]    |                                 +++++++++++++++++
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 |             socket_fd: socket_fd.as_ref(),
[INFO] [stdout]    |                                  ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `trim` found for enum `Result` in the current scope
[INFO] [stdout]   --> command/src/pty.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         str.trim().to_string()
[INFO] [stdout]    |             ^^^^ method not found in `Result<&str, Utf8Error>`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `trim` exists on the type `&str`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `&str` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 59 |         str.expect("REASON").trim().to_string()
[INFO] [stdout]    |            +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `command` due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "bb655ef8f0dfc32755094f9cd16c716407f2fd47693d5fb9de98a8976fab749a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb655ef8f0dfc32755094f9cd16c716407f2fd47693d5fb9de98a8976fab749a", kill_on_drop: false }`
[INFO] [stdout] bb655ef8f0dfc32755094f9cd16c716407f2fd47693d5fb9de98a8976fab749a
